﻿<%@ Page Language="C#" MasterPageFile="~/InterfazKamalde/MasterPageadmin.master"
    AutoEventWireup="true" CodeFile="AgregarEvento.aspx.cs" Inherits="InterfazKamalde_Administracion" %>
    <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc2" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="home">
    <tr>
        <td>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
          <asp:UpdatePanel ID="panelEvento" runat="server">
          <ContentTemplate>
          
          <asp:Table ID="table2" runat="server" BorderColor="Black" BorderWidth="1px" CellSpacing="0"
                CellPadding="3" Width="295px" HorizontalAlign="Center" Height="133px" CssClass="style7"
                BackColor="White" Font-Size="11px" ForeColor="#333333">
                <asp:TableRow>
                    <asp:TableCell ColumnSpan="3" Font-Size="12px" Font-Bold="true"  BackColor="#333333" HorizontalAlign="Center" ForeColor="White">
            Agregar Nuevo Evento
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell>
            Categoria del Evento
                    </asp:TableCell>
                    <asp:TableCell><asp:DropDownList ID="comboCategoria" OnTextChanged="comboCategoria_TextChanged"
                            AutoPostBack="true" runat="server">
                        </asp:DropDownList>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell>
            Participantes
                    </asp:TableCell>
                    <asp:TableCell><asp:DropDownList ID="comboParticipantes" OnTextChanged="comboParticipantes_TextChanged"
                            AutoPostBack="true" runat="server">
                        </asp:DropDownList>
                    </asp:TableCell>
                    <asp:TableCell><asp:Button ID="agregarParticipante" Visible="false" Text="Agregar" OnClick="agregarParticipante_Click"
                            runat="server" />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell><asp:Button ID="excluir" Text="Excluir" Visible="false" OnClick="excluir_Click" runat="server" />
                    </asp:TableCell>
                    <asp:TableCell RowSpan="2" HorizontalAlign="Right"><asp:ListBox ID="listaParticipantes" Width="200" Visible="false" runat="server">
                        </asp:ListBox>
                    </asp:TableCell>
                 </asp:TableRow>
                 <asp:TableRow> <asp:TableCell><asp:Button ID="cancelar" Text="Cancelar" Visible="false" OnClick="cancelar_Click"
                            runat="server" />
                    </asp:TableCell>
                    
                    
                </asp:TableRow>
                <asp:TableRow></asp:TableRow>
                <asp:TableRow>
                <asp:TableCell><asp:Button ID="confirmar" Text="Confirmar" Visible="false" OnClick="confirmar_Click"
                            runat="server" />
                            <cc2:ConfirmButtonExtender ID="confirmarEvento" runat="server" ConfirmText="Esta seguro que desea agregar este evento?"
                             TargetControlID="Confirmar"></cc2:ConfirmButtonExtender>
                            
                </asp:TableCell>
                </asp:TableRow>
                    <asp:TableRow>
                    <asp:TableCell>
        Fecha de Evento
                    </asp:TableCell>
                    <asp:TableCell><asp:DropDownList Font-Size="Small" ID="dia" runat="server" Width="47px">
                            <asp:ListItem>DD</asp:ListItem>
                            <asp:ListItem>01</asp:ListItem>
                            <asp:ListItem>02</asp:ListItem>
                            <asp:ListItem>03</asp:ListItem>
                            <asp:ListItem>04</asp:ListItem>
                            <asp:ListItem>05</asp:ListItem>
                            <asp:ListItem>06</asp:ListItem>
                            <asp:ListItem>07</asp:ListItem>
                            <asp:ListItem>08</asp:ListItem>
                            <asp:ListItem>09</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                            <asp:ListItem>13</asp:ListItem>
                            <asp:ListItem>14</asp:ListItem>
                            <asp:ListItem>15</asp:ListItem>
                            <asp:ListItem>16</asp:ListItem>
                            <asp:ListItem>17</asp:ListItem>
                            <asp:ListItem>18</asp:ListItem>
                            <asp:ListItem>19</asp:ListItem>
                            <asp:ListItem>20</asp:ListItem>
                            <asp:ListItem>21</asp:ListItem>
                            <asp:ListItem>22</asp:ListItem>
                            <asp:ListItem>23</asp:ListItem>
                            <asp:ListItem>24</asp:ListItem>
                            <asp:ListItem>25</asp:ListItem>
                            <asp:ListItem>26</asp:ListItem>
                            <asp:ListItem>27</asp:ListItem>
                            <asp:ListItem>28</asp:ListItem>
                            <asp:ListItem>29</asp:ListItem>
                            <asp:ListItem>30</asp:ListItem>
                            <asp:ListItem>31</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;<asp:DropDownList Font-Size="Small" ID="mes" runat="server" Width="47px">
                            <asp:ListItem>MM</asp:ListItem>
                            <asp:ListItem Value="01">Ene</asp:ListItem>
                            <asp:ListItem Value="02">Feb</asp:ListItem>
                            <asp:ListItem Value="03">Mar</asp:ListItem>
                            <asp:ListItem Value="04">Abr</asp:ListItem>
                            <asp:ListItem Value="05">May</asp:ListItem>
                            <asp:ListItem Value="06">Jun</asp:ListItem>
                            <asp:ListItem Value="07">Jul</asp:ListItem>
                            <asp:ListItem Value="08">Ago</asp:ListItem>
                            <asp:ListItem Value="09">Sept</asp:ListItem>
                            <asp:ListItem Value="10">Oct</asp:ListItem>
                            <asp:ListItem Value="11">Nov</asp:ListItem>
                            <asp:ListItem Value="12">Dic</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;<asp:TextBox ID="anho" MaxLength="60" runat="server" Width="62px"></asp:TextBox>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                <asp:TableCell runat="server" ColumnSpan="2">
                <asp:Label ID="error" runat="server" Text=" " ForeColor="Red" ToolTip=" ">
                
                </asp:Label>
                
                </asp:TableCell>
                
                </asp:TableRow>
            </asp:Table>
                      
              <br />
                      
          </ContentTemplate>
          </asp:UpdatePanel>
  
            <asp:UpdateProgress ID="progresoEvento" runat="server" AssociatedUpdatePanelID="panelEvento">
            <ProgressTemplate>
            <center style="height: 67px">
            <img src="images/25-1.gif" />
            Agregando Evento...
            </center>
            </ProgressTemplate>
            
            </asp:UpdateProgress>          
            
        </td>
    </tr>
</asp:Content>
